package cn.iocoder.yudao.module.agent.service.bo.borkeragerecord;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BorkerageRecordAddReqBO {
    /**
     * 业务编号
     */
    @NotNull(message = "业务编号不能为空")
    private Long bizId;
    /**
     * 订单价格
     */
    @NotNull(message = "订单价格不能为空")
    private Integer payPrice;

    /**
     * 来源用户编号
     */
    @NotNull(message = "来源用户编号不能为空")
    private Long sourceUserId;

    /**
     * 佣金记录标题
     */
    @NotEmpty(message = "佣金记录标题不能为空")
    private String title;
}
